import http from './http'

export function setArticle(data: any) {
	return http.post('/api/setArticle', data)
}
export function getArticlesTitle(nid: number) {
	return http.get('/api/getArticlesTitle', { nid: nid })
}
export function getNotebookList() {
	return http.get('/api/getNotebookList')
}
export function getArticle(aid: number) {
	return http.get('/api/getArticle', { aid: aid })
}
export function deleteArticle(aid: number) {
	return http.get('/api/deleteArticle', { aid: aid })
}
